package com.pulp.production.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.production.dao.ProductionInfoDAO;

//import com.pulp.model.OrgnizationInfo;

public class ProductionInfoDAOImpl extends SqlMapClientDaoSupport implements ProductionInfoDAO {

	// public List getLoginUserMapping(String empno, String pwd){
	// Map args = new HashMap();
	// args.put("empno", empno);
	// args.put("pwd", pwd);
	// return getSqlMapClientTemplate().queryForList("prod.loginusermapping",
	// args);
	// }

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperMachineYear()
	 */
	public List getPaperMachineYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.papermachineyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperMachineMonth()
	 */
	@Override
	public List getPaperMachineMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.papermachinemonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperMachineDate()
	 */
	@Override
	public List getPaperMachineDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.papermachinedate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPapertTotalYear()
	 */
	@Override
	public List getPaperTotalYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.papertotalyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPapertTotalMonth()
	 */
	@Override
	public List getPaperTotalMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.papertotalmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPapertTotalDate()
	 */
	@Override
	public List getPaperTotalDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.papertotaldate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperTeamYear()
	 */
	@Override
	public List getPaperTeamYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.paperteamyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperTeamMonth()
	 */
	@Override
	public List getPaperTeamMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.paperteammonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperTeamDate()
	 */
	@Override
	public List getPaperTeamDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.paperteamdate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperKindYear()
	 */
	@Override
	public List getPaperKindYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.paperkindyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperKindMonth()
	 */
	@Override
	public List getPaperKindMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.paperkindmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPaperKindDate()
	 */
	@Override
	public List getPaperKindDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.paperkinddate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperYear()
	 */
	@Override
	public List getCombinedPaperTotalYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpapertotalyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperMonth()
	 */
	@Override
	public List getCombinedPaperTotalMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpapertotalmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperDate()
	 */
	@Override
	public List getCombinedPaperTotalDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpapertotaldate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperProdAndScratchYear
	 * ()
	 */
	@Override
	public List getCombinedPaperProdAndScratchYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpaperprodandscratchyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperProdAndScratchMonth
	 * ()
	 */
	@Override
	public List getCombinedPaperProdAndScratchMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpaperprodandscratchmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperProdAndScratchDate
	 * ()
	 */
	@Override
	public List getCombinedPaperProdAndScratchDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpaperprodandscratchdate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getYieldTotalYear()
	 */
	@Override
	public List getYieldTotalYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.yieldtotalyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getYieldTotalMonth()
	 */
	@Override
	public List getYieldTotalMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.yieldtotalmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getYieldTotalDate()
	 */
	@Override
	public List getYieldTotalDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.yieldtotaldate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getYieldPaperKindTotalYear()
	 */
	@Override
	public List getYieldPaperKindYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.yieldpaperkindyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getYieldPaperKindTotalMonth()
	 */
	@Override
	public List getYieldPaperKindMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.yieldpaperkindmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getYieldPaperKindTotalDate()
	 */
	@Override
	public List getYieldPaperKindDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.yieldpaperkinddate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperTeamYear()
	 */
	@Override
	public List getCombinedPaperTeamYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpaperteamyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperTeamMonth()
	 */
	@Override
	public List getCombinedPaperTeamMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpaperteammonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getCombinedPaperTeamDate()
	 */
	@Override
	public List getCombinedPaperTeamDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.combinedpaperteamdate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getProcessedProductKindYear()
	 */
	@Override
	public List getProcessedProductKindYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.processedproductkindyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getProcessedProductKindMonth()
	 */
	@Override
	public List getProcessedProductKindMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.processedproductkindmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getProcessedProductKindDate()
	 */
	@Override
	public List getProcessedProductKindDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.processedproductkinddate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#
	 * getProcessedProductProdAndScratchYear()
	 */
	@Override
	public List getProcessedProductProdAndScratchYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.processedproductprodandscratchyear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#
	 * getProcessedProductProdAndScratchMonth()
	 */
	@Override
	public List getProcessedProductProdAndScratchMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.processedproductprodandscratchmonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#
	 * getProcessedProductProdAndScratchDate()
	 */
	@Override
	public List getProcessedProductProdAndScratchDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.processedproductprodandscratchdate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getEnergyElectricityYear()
	 */
	@Override
	public List getEnergyElectricityYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.EnergyElectricityYear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.production.dao.ProductionInfoDAO#getEnergyElectricityMonth()
	 */
	@Override
	public List getEnergyElectricityMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.EnergyElectricityMonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getEnergyElectricityDate()
	 */
	@Override
	public List getEnergyElectricityDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.EnergyElectricityDate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getEnergyLNGYear()
	 */
	@Override
	public List getEnergyLNGYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.EnergyLNGYear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getEnergyLNGMonth()
	 */
	@Override
	public List getEnergyLNGMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.EnergyLNGMonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.production.dao.ProductionInfoDAO#getEnergyLNGDate()
	 */
	@Override
	public List getEnergyLNGDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.EnergyLNGDate", args);
	}

	/* (non-Javadoc)
	 * @see com.pulp.production.dao.ProductionInfoDAO#getPlanAndResultYear()
	 */
	@Override
	public List getPlanAndResultYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("prod.PlanAndResultYear", args);
	}

	// public List getCountry(){
	// Map args = new HashMap();
	// return getSqlMapClientTemplate().queryForList("prod.country", args);
	// }
}
